import gym

env = gym.make('MountainCar-v0',render_mode = "human")
env.reset() 
done = False
score = 0

while not done:
    env.render()
    action = env.action_space.sample()    
    observation,reward,done,info,_ = env.step(action)
    score+=reward
    #print(f'reward: {reward}')

print(f'score: {score}')














